package com.example.demo.model;

import lombok.Data;

import java.io.Serializable;

@Data
public class User implements Serializable {
    //与数据库表里面的属性进行对应
    private int userId;
    //加上初始化,默认返回空字符串
    private String username = "";
    private String password = "";
//    private String avatarUrl = "img/head/head.jpg";
    private String photos ;
}
